package com.xiaoze.springcloud.start;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * AuthOperationApplication
 *
 * @author xiaoze
 * @date 2018/6/7
 *
 * ComponentScan(basePackages = "com.xiaoze.springcloud") //这里指定你要扫描的包及其子包子类
 *
 */
@EnableFeignClients(basePackages= {"com.xiaoze.springcloud"})
@ComponentScan(basePackages = "com.xiaoze.springcloud")
@SpringBootApplication
@EnableDiscoveryClient
public class AuthOperationApplication {

    public static void main(String[] args) {
        SpringApplication.run(AuthOperationApplication.class, args);
    }
}
